<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>医疗问卷提交成功</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <style>
        body,
        html {
            height: 100%;
            background: #fff;
        }
    </style>
</head>

<body>
    <div style="text-align: center;">
        <img src="image/ok.png" style="width: 200px;height: 200px;"></img>
        <br />
        <h2>医疗问卷提交成功</h2>
    </div>
    <br>
    <br>
    <br>
    <div style="text-align: center;font-size: 14px;">
        <a href="#" onclick="getresult();">查看结果</a>
    </div>

</body>

</html>

<script type="text/javascript">
    function getQueryVariable(variable) {
        var query = window.location.search.substring(1);
        var vars = query.split("&");
        for (var i = 0; i < vars.length; i++) {
            var pair = vars[i].split("=");
            if (pair[0] == variable) { return pair[1]; }
        }
        return (false);
    }

    function getresult() {
        window.location.href = "formsucceresult.html?appid="+getQueryVariable("appid")+"&id=" + getQueryVariable("id");
    }
</script>